package com.ruoyi.system.service.config;

import java.util.List;
import com.ruoyi.system.domain.config.VsAttachment;

/**
 * 附件Service接口
 * 
 * @author zzx
 * @date 2024-06-13
 */
public interface IVsAttachmentService 
{
    /**
     * 查询附件
     * 
     * @param id 附件主键
     * @return 附件
     */
    public VsAttachment selectVsAttachmentById(String id);

    /**
     * 查询附件列表
     * 
     * @param vsAttachment 附件
     * @return 附件集合
     */
    public List<VsAttachment> selectVsAttachmentList(VsAttachment vsAttachment);

    /**
     * 新增附件
     * 
     * @param vsAttachment 附件
     * @return 结果
     */
    public int insertVsAttachment(VsAttachment vsAttachment);

    /**
     * 修改附件
     * 
     * @param vsAttachment 附件
     * @return 结果
     */
    public int updateVsAttachment(VsAttachment vsAttachment);

    /**
     * 批量删除附件
     * 
     * @param ids 需要删除的附件主键集合
     * @return 结果
     */
    public int deleteVsAttachmentByIds(String[] ids);

    /**
     * 删除附件信息
     * 
     * @param id 附件主键
     * @return 结果
     */
    public int deleteVsAttachmentById(String id);
}
